<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<title>Calendar Demos</title>
	<script src="../../../../scripts/jquery.js" type="text/javascript"></script>
	<link  href="../../../../themes/default/ui.css" type="text/css" id="themesLink" rel="stylesheet" />
	<!-- 换肤 -->
	<script type="text/javascript" src="../../../theme_cookie.js"></script>
	<script language="javascript" type="text/javascript" src="../WdatePicker.js"></script>

	<script>
		$(function() { 
			$("#calendar_div").calendar({onpicked:function(dp){alert('你选择的日期是:'+dp.cal.getDateStr())}});
		})
		
	</script>
	
</head>

<body>
	
		<div id='content-default' class='demo'>
		<div>
				<div id="calendar_div"></div>
			</div>
		<br /><br />
			<br>
			<div class='ui-state-error'>
				<pre>
BUG：同一页面同时使用嵌入日历控件和弹出日历控件会存在一些问题</pre>
			</div>
	</div>
</body>
</html>